package com.gaea.auth.feign;

import com.gaea.auth.feign.fallback.UserServiceFallbackImpl;
import com.gaea.base.vo.UserVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 用户请求接口
 *
 * @author bjsonghongxu
 * @create 2018-03-29 16:20
 **/
@FeignClient(name = "gaea-common-service", fallback = UserServiceFallbackImpl.class)
public interface IUserService {

    /**
     *  用户信息查询（可以通过 用户名 / 手机号 / OpenId）
     * @param userVo
     * @return
     */
    @GetMapping("/user/login")
    UserVo login(@RequestBody UserVo userVo);






}
